package com.volcreate.inn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.volcreate.inn.po.Comment;
import com.volcreate.inn.vo.CommentVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zxc
 * @since 2020-08-23
 */
@Repository
public interface CommentMapper extends BaseMapper<Comment> {
    List<CommentVO> selectByBlogIdAndIsRootComment(Long id);
}
